/*
  Copyright 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  KimNgan Project.
*/
using System;
using System.Collections;

namespace SES.CMS.DO
{
    [Serializable]
    public class cmsArticleDO
    {

        /// <summary>
        /// Summary description for cmsArticleDO
        /// </summary>


        #region Public Constants (Fields name)
        public const string ARTICLEID_FIELD = "ArticleID";
        public const string TITLE_FIELD = "Title";
        public const string CATEGORYID_FIELD = "CategoryID";
        public const string IMAGEURL_FIELD = "ImageUrl";
        public const string DESCRIPTION_FIELD = "Description";
        public const string ARTICLEDETAIL_FIELD = "ArticleDetail";
        public const string TAGS_FIELD = "Tags";
        public const string ISPUBLISH_FIELD = "IsPublish";
        public const string ORDERID_FIELD = "OrderID";
        public const string ISHOMPAGE_FIELD = "IsHompage";
        public const string USERCREATE_FIELD = "UserCreate";
        public const string CREATEDATE_FIELD = "CreateDate";
        public const string PARENTID_FIELD = "ParentID";
        public const string ALLOWVOTE_FIELD = "AllowVote";
        public const string ALLOWCOMMENT_FIELD = "AllowComment";
        public const string METADES_FIELD = "MetaDes";
        public const string METATAG_FIELD = "MetaTag";
        public const string PAGETITLE_FIELD = "PageTitle";

        #endregion

        #region Private Variables
        private Int32 _ArticleID;
        private String _Title;
        private Int32 _CategoryID;
        private String _ImageUrl;
        private String _Description;
        private String _ArticleDetail;
        private String _Tags;
        private Boolean _IsPublish;
        private Int32 _OrderID;
        private Boolean _IsHompage;
        private Int32 _UserCreate;
        private DateTime _CreateDate;
        private Int32 _ParentID;
        private Boolean _AllowVote;
        private Boolean _AllowComment;
        private String _MetaDes;
        private String _MetaTag;
        private String _PageTitle;

        #endregion

        #region Public Properties
        public Int32 ArticleID
        {
            get
            {
                return _ArticleID;
            }
            set
            {
                _ArticleID = value;
            }
        }
        public String Title
        {
            get
            {
                return _Title;
            }
            set
            {
                _Title = value;
            }
        }
        public Int32 CategoryID
        {
            get
            {
                return _CategoryID;
            }
            set
            {
                _CategoryID = value;
            }
        }
        public String ImageUrl
        {
            get
            {
                return _ImageUrl;
            }
            set
            {
                _ImageUrl = value;
            }
        }
        public String Description
        {
            get
            {
                return _Description;
            }
            set
            {
                _Description = value;
            }
        }
        public String ArticleDetail
        {
            get
            {
                return _ArticleDetail;
            }
            set
            {
                _ArticleDetail = value;
            }
        }
        public String Tags
        {
            get
            {
                return _Tags;
            }
            set
            {
                _Tags = value;
            }
        }
        public Boolean IsPublish
        {
            get
            {
                return _IsPublish;
            }
            set
            {
                _IsPublish = value;
            }
        }

        public Boolean AllowVote
        {
            get
            {
                return _AllowVote;
            }
            set
            {
                _AllowVote = value;
            }
        }
        public Boolean AllowComment
        {
            get
            {
                return _AllowComment;
            }
            set
            {
                _AllowComment = value;
            }
        }
        public Int32 OrderID
        {
            get
            {
                return _OrderID;
            }
            set
            {
                _OrderID = value;
            }
        }
        public Boolean IsHompage
        {
            get
            {
                return _IsHompage;
            }
            set
            {
                _IsHompage = value;
            }
        }
        public Int32 UserCreate
        {
            get
            {
                return _UserCreate;
            }
            set
            {
                _UserCreate = value;
            }
        }
        public DateTime CreateDate
        {
            get
            {
                return _CreateDate;
            }
            set
            {
                _CreateDate = value;
            }
        }
        public Int32 ParentID
        {
            get
            {
                return _ParentID;
            }
            set
            {
                _ParentID = value;
            }
        }

        public String MetaDes
        {
            get
            {
                return _MetaDes;
            }
            set
            {
                _MetaDes = value;
            }
        }
        public String MetaTag
        {
            get
            {
                return _MetaTag;
            }
            set
            {
                _MetaTag = value;
            }
        }
        public String PageTitle
        {
            get
            {
                return _PageTitle;
            }
            set
            {
                _PageTitle = value;
            }
        }

        #endregion

    }
}
